package com.guigu.health.service;

import com.github.pagehelper.PageInfo;
import com.guigu.health.pojo.Order;
import com.guigu.health.pojo.OrderCheckItemDetails;
import com.guigu.health.pojo.OrderExample;
import com.guigu.health.pojo.OrderSetMemalDetails;

import java.util.List;

/**
 * @ClassName:OrderDetails
 * @Description:预约详细表
 * @Author:longtao
 * @Date:2021/4/11
 * @Version:1.0
 */
public interface OrderDetails {

    /**
     * 条件查询预约套餐详细信息
     * @param name
     * @param pageNum
     * @param pageSize
     * @return
     */
    public PageInfo<OrderSetMemalDetails> queryAllSetMemal(String name, Integer pageNum, Integer pageSize);

    /**
     * 条件查询预约检查项详细信息
     * @param name
     * @param pageNum
     * @param pageSize
     * @return
     */
    public PageInfo<OrderCheckItemDetails> queryAllCheckItem(String name, Integer pageNum, Integer pageSize);

    /**
     * 删除预约信息
     * @param id
     * @return
     */
    public boolean deleteDetails(Integer id);

    /**
     * 修改预约信息
     * @param order
     * @param example
     * @return
     */
    public boolean updateOrder(Order order, OrderExample example);
}
